package com.lkj;

import java.lang.reflect.Proxy;

public class HandleService {

    public static <T> T get(Class<T> daoClazz) {
        return (T) Proxy.newProxyInstance(daoClazz.getClassLoader(),new  Class[]{daoClazz},new HandleImplement());
    }
}
